package com.zy.gpdemo.domain;

/**
 * 此类用于网络打印servlet中转json
 * @author azor
 */
public class BasePrintTaskData{

    private Long id;
    private long messageId; //消息ID
    private String messageIds; //消息IDS
    private String warehouseCode; //平台编码
    private String stockCode; //任务区间
    private String messageName; //消息名称
    private String insertTime; //插入时间
    private String status = "1"; //状态
    private String IP; //发送ip
    private String printIp; //打印ip
    private String reportName;//报表名称
    private String reportParams;//报表参数
    private Integer printNums = 1;//打印次数
    private String appRoot;
    private Integer failTimes;

    public BasePrintTaskData() {
    }

    public BasePrintTaskData(long messageId, String messageIds, String warehouseCode, String stockCode, String messageName,
                             String insertTime, String status, String iP, String printIp, String reportName, String reportParams,
                             Integer printNums, String appRoot) {
        super();
        this.messageId = messageId;
        this.messageIds = messageIds;
        this.warehouseCode = warehouseCode;
        this.stockCode = stockCode;
        this.messageName = messageName;
        this.insertTime = insertTime;
        this.status = status;
        this.IP = iP;
        this.printIp = printIp;
        this.reportName = reportName;
        this.reportParams = reportParams;
        this.printNums = printNums;
        this.appRoot = appRoot;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public long getMessageId() {
        return messageId;
    }

    public void setMessageId(long messageId) {
        this.messageId = messageId;
    }

    public String getWarehouseCode() {
        return warehouseCode;
    }

    public void setWarehouseCode(String warehouseCode) {
        this.warehouseCode = warehouseCode;
    }

    public String getStockCode() {
        return stockCode;
    }

    public void setStockCode(String stockCode) {
        this.stockCode = stockCode;
    }

    public String getMessageName() {
        return messageName;
    }

    public void setMessageName(String messageName) {
        this.messageName = messageName;
    }

    public String getInsertTime() {
        return insertTime;
    }

    public void setInsertTime(String insertTime) {
        this.insertTime = insertTime;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getIP() {
        return IP;
    }

    public void setIP(String iP) {
        IP = iP;
    }

    public String getPrintIp() {
        return printIp;
    }

    public void setPrintIp(String printIp) {
        this.printIp = printIp;
    }

    public String getReportName() {
        return reportName;
    }

    public void setReportName(String reportName) {
        this.reportName = reportName;
    }

    public String getReportParams() {
        return reportParams;
    }

    public void setReportParams(String reportParams) {
        this.reportParams = reportParams;
    }

    public Integer getPrintNums() {
        return printNums;
    }

    public void setPrintNums(Integer printNums) {
        this.printNums = printNums;
    }

    public String getAppRoot() {
        return appRoot;
    }

    public void setAppRoot(String appRoot) {
        this.appRoot = appRoot;
    }

    public String getMessageIds() {
        return messageIds;
    }

    public void setMessageIds(String messageIds) {
        this.messageIds = messageIds;
    }

    public Integer getFailTimes() {
        return failTimes;
    }

    public void setFailTimes(Integer failTimes) {
        this.failTimes = failTimes;
    }

}
